package com.huidu.bitrade.constant;

import com.fasterxml.jackson.annotation.JsonValue;
import com.huidu.bitrade.core.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author QQ：97095646
 * @description 商家等级
 * @date 2019/12/25 17:03
 */
@AllArgsConstructor
@Getter
public enum BusinessLevelEnum implements BaseEnum {
    COMMON( "普通会员"),
    GOLD( "黄金会员"),
    PLATINUM("铂金会员"),
    DIAMOND("钻石会员");

    @Setter
    private String cnName;

    @Override
    @JsonValue
    public int getOrdinal(){
        return this.ordinal();
    }


}
